package com.wn.common.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "导游")
public class TourGuide {
    private Integer id;

    private Integer userId;
    @Pattern(regexp = "^[\\u4e00-\\u9fa5]+$",message ="导游名称格式错误")
    private String tourGuideName;

    private String tourGuidePhoto;

    @NotBlank(message = "请填写工作地点！")
    @Pattern(regexp = "^[\\u4e00-\\u9fa5]+$",message = "工作地点为汉字")
    private String workingPlace;

    private String tourGuideDescription;

    @Pattern(regexp = "^[\\u4e00-\\u9fa5]+$",message = "填写所属公司")
    private String tourGuideCompany;

    @ApiModelProperty(hidden = true)
    private Integer createUserId;

    @ApiModelProperty(hidden = true)
    private String createTime;

    @ApiModelProperty(hidden = true)
    private Integer updateUserId;

    @ApiModelProperty(hidden = true)
    private String updateTime;

    @ApiModelProperty(hidden = true, value = "该旅行社状态 0--正常，1--锁定")
    private String tourGuideStatus;

    @ApiModelProperty(hidden = true,value = "导游状态 0--正常，1--锁定")
    private String tourGuideIsdeleted;

}
